package com.dashen.sso.third.party.Controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;

/**
 * @author Barry Wang
 */
@Controller
public class WelcomeController {

    @RequestMapping("welcome/home")
    @ResponseBody
    public String home(){

        return "this is home page";
    }

    @RequestMapping("/")
    @ResponseBody
    public String root(){

        return "this is root home page";
    }
}

